import { useWallet } from '@solana/wallet-adapter-react';
import { WalletMultiButton } from '@solana/wallet-adapter-react-ui';

const ConnectSolanaWallet = () => {
  const { publicKey } = useWallet();

  return (
    <div>
      <p>Connected to Solana: {publicKey ? publicKey.toBase58() : 'Not connected'}</p>
      <WalletMultiButton />
    </div>
  );
};

export default ConnectSolanaWallet;